package com.hmall.pay;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.hmall.pay.mapper")
@EnableFeignClients("com.hmall.api.client")
@SpringBootApplication()
@Slf4j
public class PayApp {
    public static void main(String[] args) {
        SpringApplication.run(PayApp.class, args);
        log.info("支付服务已启动");
    }
}
